Integrand size = 35, antiderivative size = 198 \[ \int \sqrt {a^2+2 a b x+b^2 x^2} \sqrt {c+e x+d x^2} \, dx=\frac {(2 a d-b e) (e+2 d x) \sqrt {a^2+2 a b x+b^2 x^2} \sqrt {c+e x+d x^2}}{8 d^2 (a+b x)}+\frac {b \sqrt {a^2+2 a b x+b^2 x^2} \left (c+e x+d x^2\right )^{3/2}}{3 d (a+b x)}+\frac {(2 a d-b e) \left (4 c d-e^2\right ) \sqrt {a^2+2 a b x+b^2 x^2} \text {arctanh}\left (\frac {e+2 d x}{2 \sqrt {d} \sqrt {c+e x+d x^2}}\right )}{16 d^{5/2} (a+b x)} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 198, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {983, 654, 626, 635, 212} \[ \int \sqrt {a^2+2 a b x+b^2 x^2} \sqrt {c+e x+d x^2} \, dx=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \left (4 c d-e^2\right ) (2 a d-b e) \text {arctanh}\left (\frac {2 d x+e}{2 \sqrt {d} \sqrt {c+d x^2+e x}}\right )}{16 d^{5/2} (a+b x)}+\frac {\sqrt {a^2+2 a b x+b^2 x^2} (2 d x+e) (2 a d-b e) \sqrt {c+d x^2+e x}}{8 d^2 (a+b x)}+\frac {b \sqrt {a^2+2 a b x+b^2 x^2} \left (c+d x^2+e x\right )^{3/2}}{3 d (a+b x)} \]
[In]
[Out]
Rule 212
Rule 626
Rule 635
Rule 654
Rule 983
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (2 a b+2 b^2 x\right ) \sqrt {c+e x+d x^2} \, dx}{2 a b+2 b^2 x} \\ & = \frac {b \sqrt {a^2+2 a b x+b^2 x^2} \left (c+e x+d x^2\right )^{3/2}}{3 d (a+b x)}+\frac {\left (b (2 a d-b e) \sqrt {a^2+2 a b x+b^2 x^2}\right ) \int \sqrt {c+e x+d x^2} \, dx}{d \left (2 a b+2 b^2 x\right )} \\ & = \frac {(2 a d-b e) (e+2 d x) \sqrt {a^2+2 a b x+b^2 x^2} \sqrt {c+e x+d x^2}}{8 d^2 (a+b x)}+\frac {b \sqrt {a^2+2 a b x+b^2 x^2} \left (c+e x+d x^2\right )^{3/2}}{3 d (a+b x)}+\frac {\left (b (2 a d-b e) \left (4 c d-e^2\right ) \sqrt {a^2+2 a b x+b^2 x^2}\right ) \int \frac {1}{\sqrt {c+e x+d x^2}} \, dx}{8 d^2 \left (2 a b+2 b^2 x\right )} \\ & = \frac {(2 a d-b e) (e+2 d x) \sqrt {a^2+2 a b x+b^2 x^2} \sqrt {c+e x+d x^2}}{8 d^2 (a+b x)}+\frac {b \sqrt {a^2+2 a b x+b^2 x^2} \left (c+e x+d x^2\right )^{3/2}}{3 d (a+b x)}+\frac {\left (b (2 a d-b e) \left (4 c d-e^2\right ) \sqrt {a^2+2 a b x+b^2 x^2}\right ) \text {Subst}\left (\int \frac {1}{4 d-x^2} \, dx,x,\frac {e+2 d x}{\sqrt {c+e x+d x^2}}\right )}{4 d^2 \left (2 a b+2 b^2 x\right )} \\ & = \frac {(2 a d-b e) (e+2 d x) \sqrt {a^2+2 a b x+b^2 x^2} \sqrt {c+e x+d x^2}}{8 d^2 (a+b x)}+\frac {b \sqrt {a^2+2 a b x+b^2 x^2} \left (c+e x+d x^2\right )^{3/2}}{3 d (a+b x)}+\frac {(2 a d-b e) \left (4 c d-e^2\right ) \sqrt {a^2+2 a b x+b^2 x^2} \tanh ^{-1}\left (\frac {e+2 d x}{2 \sqrt {d} \sqrt {c+e x+d x^2}}\right )}{16 d^{5/2} (a+b x)} \\ \end{align*}
Time = 0.67 (sec) , antiderivative size = 172, normalized size of antiderivative = 0.87 \[ \int \sqrt {a^2+2 a b x+b^2 x^2} \sqrt {c+e x+d x^2} \, dx=\frac {\sqrt {(a+b x)^2} \left (\sqrt {d} \sqrt {c+x (e+d x)} \left (6 a d (e+2 d x)+b \left (8 c d-3 e^2+2 d e x+8 d^2 x^2\right )\right )+6 d e (2 b c+a e) \text {arctanh}\left (\frac {\sqrt {d} x}{\sqrt {c}-\sqrt {c+x (e+d x)}}\right )+3 \left (8 a c d^2+b e^3\right ) \text {arctanh}\left (\frac {\sqrt {d} x}{-\sqrt {c}+\sqrt {c+x (e+d x)}}\right )\right )}{24 d^{5/2} (a+b x)} \]
[In]
[Out]
Time = 0.67 (sec) , antiderivative size = 146, normalized size of antiderivative = 0.74
method | result | size |
risch | \(\frac {\left (8 b \,x^{2} d^{2}+12 a \,d^{2} x +2 b d e x +6 a d e +8 b c d -3 b \,e^{2}\right ) \sqrt {d \,x^{2}+e x +c}\, \sqrt {\left (b x +a \right )^{2}}}{24 d^{2} \left (b x +a \right )}+\frac {\left (8 c \,d^{2} a -2 a d \,e^{2}-4 b c d e +b \,e^{3}\right ) \ln \left (\frac {\frac {e}{2}+d x}{\sqrt {d}}+\sqrt {d \,x^{2}+e x +c}\right ) \sqrt {\left (b x +a \right )^{2}}}{16 d^{\frac {5}{2}} \left (b x +a \right )}\) | \(146\) |
default | \(\frac {\operatorname {csgn}\left (b x +a \right ) \left (16 \left (d \,x^{2}+e x +c \right )^{\frac {3}{2}} d^{\frac {5}{2}} b +24 \sqrt {d \,x^{2}+e x +c}\, d^{\frac {7}{2}} a x -12 \sqrt {d \,x^{2}+e x +c}\, d^{\frac {5}{2}} b e x +12 \sqrt {d \,x^{2}+e x +c}\, d^{\frac {5}{2}} a e -6 \sqrt {d \,x^{2}+e x +c}\, d^{\frac {3}{2}} b \,e^{2}+24 \ln \left (\frac {2 \sqrt {d \,x^{2}+e x +c}\, \sqrt {d}+2 d x +e}{2 \sqrt {d}}\right ) a c \,d^{3}-6 \ln \left (\frac {2 \sqrt {d \,x^{2}+e x +c}\, \sqrt {d}+2 d x +e}{2 \sqrt {d}}\right ) a \,d^{2} e^{2}-12 \ln \left (\frac {2 \sqrt {d \,x^{2}+e x +c}\, \sqrt {d}+2 d x +e}{2 \sqrt {d}}\right ) b c \,d^{2} e +3 \ln \left (\frac {2 \sqrt {d \,x^{2}+e x +c}\, \sqrt {d}+2 d x +e}{2 \sqrt {d}}\right ) b d \,e^{3}\right )}{48 d^{\frac {7}{2}}}\) | \(257\) |
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 287, normalized size of antiderivative = 1.45 \[ \int \sqrt {a^2+2 a b x+b^2 x^2} \sqrt {c+e x+d x^2} \, dx=\left [\frac {3 \, {\left (8 \, a c d^{2} - 4 \, b c d e - 2 \, a d e^{2} + b e^{3}\right )} \sqrt {d} \log \left (8 \, d^{2} x^{2} + 8 \, d e x + 4 \, \sqrt {d x^{2} + e x + c} {\left (2 \, d x + e\right )} \sqrt {d} + 4 \, c d + e^{2}\right ) + 4 \, {\left (8 \, b d^{3} x^{2} + 8 \, b c d^{2} + 6 \, a d^{2} e - 3 \, b d e^{2} + 2 \, {\left (6 \, a d^{3} + b d^{2} e\right )} x\right )} \sqrt {d x^{2} + e x + c}}{96 \, d^{3}}, -\frac {3 \, {\left (8 \, a c d^{2} - 4 \, b c d e - 2 \, a d e^{2} + b e^{3}\right )} \sqrt {-d} \arctan \left (\frac {\sqrt {d x^{2} + e x + c} {\left (2 \, d x + e\right )} \sqrt {-d}}{2 \, {\left (d^{2} x^{2} + d e x + c d\right )}}\right ) - 2 \, {\left (8 \, b d^{3} x^{2} + 8 \, b c d^{2} + 6 \, a d^{2} e - 3 \, b d e^{2} + 2 \, {\left (6 \, a d^{3} + b d^{2} e\right )} x\right )} \sqrt {d x^{2} + e x + c}}{48 \, d^{3}}\right ] \]
[In]
[Out]
\[ \int \sqrt {a^2+2 a b x+b^2 x^2} \sqrt {c+e x+d x^2} \, dx=\int \sqrt {c + d x^{2} + e x} \sqrt {\left (a + b x\right )^{2}}\, dx \]
[In]
[Out]
\[ \int \sqrt {a^2+2 a b x+b^2 x^2} \sqrt {c+e x+d x^2} \, dx=\int { \sqrt {d x^{2} + e x + c} \sqrt {{\left (b x + a\right )}^{2}} \,d x } \]
[In]
[Out]
none
Time = 0.50 (sec) , antiderivative size = 180, normalized size of antiderivative = 0.91 \[ \int \sqrt {a^2+2 a b x+b^2 x^2} \sqrt {c+e x+d x^2} \, dx=\frac {1}{24} \, \sqrt {d x^{2} + e x + c} {\left (2 \, {\left (4 \, b x \mathrm {sgn}\left (b x + a\right ) + \frac {6 \, a d^{2} \mathrm {sgn}\left (b x + a\right ) + b d e \mathrm {sgn}\left (b x + a\right )}{d^{2}}\right )} x + \frac {8 \, b c d \mathrm {sgn}\left (b x + a\right ) + 6 \, a d e \mathrm {sgn}\left (b x + a\right ) - 3 \, b e^{2} \mathrm {sgn}\left (b x + a\right )}{d^{2}}\right )} - \frac {{\left (8 \, a c d^{2} \mathrm {sgn}\left (b x + a\right ) - 4 \, b c d e \mathrm {sgn}\left (b x + a\right ) - 2 \, a d e^{2} \mathrm {sgn}\left (b x + a\right ) + b e^{3} \mathrm {sgn}\left (b x + a\right )\right )} \log \left ({\left | 2 \, {\left (\sqrt {d} x - \sqrt {d x^{2} + e x + c}\right )} \sqrt {d} + e \right |}\right )}{16 \, d^{\frac {5}{2}}} \]
[In]
[Out]
Timed out. \[ \int \sqrt {a^2+2 a b x+b^2 x^2} \sqrt {c+e x+d x^2} \, dx=\int \sqrt {{\left (a+b\,x\right )}^2}\,\sqrt {d\,x^2+e\,x+c} \,d x \]
[In]
[Out]